package com.lsa.skienna.challenge.chap6;

import java.math.BigInteger;

public class AllFibs {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		int i = 3;
		
		BigInteger prev2 = BigInteger.ONE;
		BigInteger prev1 = new BigInteger("2");
		
		while(i <= 20){
			BigInteger cur = prev1.add(prev2);
			if (i >9)
			for (int j = -1; j <= 1; j++) {
				for (int k = -1; k <= 1; k++) {
					System.out.println(prev2.add(BigInteger.valueOf(j)) + " " + prev1.add(BigInteger.valueOf(k)));
				}
			}
			
			prev2 = prev1;
			prev1 = cur;
			i++;
		}
		
		/*-1 -1 1
			-1 0 2
			-1 1 2
			0 -1 1
			0 0 2
			0 1 2
			1 -1 0
			1 0 1
			1 1 1*/
	}

}
